package com.secret.chain.secretchain.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    //姓名
    private String name;

    //微信用户唯一标识
    private String openid;

    private String userAvatar;

    private String userIntroduction;

    //手机号
    private String phoneNumber;

    private BigDecimal balance;
    //密码
    private String password;

    private Integer follow;
    private Integer fans;

    //注册时间
    private LocalDateTime createTime;
    //注册时间
    private LocalDateTime updateTime;
    private Integer status;
}
